<!DOCTYPE html>
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/>
    <meta content="telephone=no" name="format-detection"/>
	<title>Document</title>
	<style>
		#btn {
			border: 2px solid purple;
			width: 180px;
			height: 80px;
			text-align: center;
			font-size: 19px;
			cursor: pointer;
			margin: 50px 90px;
		}
	</style>
</head>
<body>
	
	<div id="btn">用来测试的div,id=btn</div>
	<script>
		var exports = {
			h:32,
			a:function() {
				return this;
			}
		};
		console.log(exports.a());

		['aa','bb','cc'].forEach(function(data) {
			console.log(data);
		});
		['aa','bb','cc','测试forEach'].forEach(function(item) {
			console.log(item);
		});
		var btn = document.getElementById('btn');
	</script>
</body>
</html>